/**
 * 入口文件
 */

import server = require('./server')

import { route } from './route'

import { handle } from './requestHandlers'

try {
  server.startHttp(route, handle)
} catch (error) {
  console.log('error collection')
}